module.exports = function(window, document) {
	var apivm = require('../../common/avm.min')(window, document);
	var avm = apivm;
	var api = apivm.api;
	var Component = apivm.Component;
	var $ = apivm.$;
	(function() {
	var Exchange = /*@__PURE__*/ (function(Component) {
		function Exchange(props) {
			Component.call(this, props);
			this.data = {};
		}

		if (Component) Exchange.__proto__ = Component;
		Exchange.prototype = Object.create(Component && Component.prototype);
		Exchange.prototype.constructor = Exchange;
		Exchange.prototype.render = function() {
			return apivm.h(
				"view",
				{class: "exchange-main"},
				apivm.h(
					"scroll-view",
					{class: "exchange-scrollView", "scroll-y": "true", bounces: "false"},
					apivm.h(
						"view",
						{class: "exchange-inputBar"},
						apivm.h("input", {class: "exchange-input", placeholder: "请输入优惠码"}),
						apivm.h("text", {class: "exchange-button"}, "兑换")
					)
				)
			);
		};

		return Exchange;
	})(Component);
	apivm.define("exchange", Exchange);
	apivm.render(apivm.h("exchange", null), "body");
})();

	window['createApp'] = function() {
		apivm.$_start();
	}
	return avm;
}